package com.vavr.checkincms.convert;

import com.vavr.checkincms.domain.data.MeetingInfoDO;
import com.vavr.checkincms.domain.dto.MeetingInfoDTO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * MeetingInfoConvert
 *
 * @since 2.0.0
 */
@Mapper
public interface MeetingInfoConvert {
    MeetingInfoConvert INSTANCE = Mappers.getMapper(MeetingInfoConvert.class);

    /**
     * DO转DTO
     *
     * @param meetingInfoDO {@link MeetingInfoDO}
     * @return {@link MeetingInfoDTO}
     */
    MeetingInfoDTO doToDto(MeetingInfoDO meetingInfoDO);
}
